UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The system must prohibit the reuse of passwords within five iterations.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4084 GEN000800 SV-38417r2_rule IAIA-1 IAIA-2 Medium
Description
If a user, or root, used the same password continuously or was allowed to change it back shortly after being forced to change it, this would provide a potential intruder with the opportunity to keep guessing at one user's password until it was guessed correctly.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2016-12-20

Details

Check Text ( C-36283r2_chk )
For Trusted Mode:
Check the PASSWORD_HISTORY_DEPTH setting.
# cat /etc/default/security | grep PASSWORD_HISTORY_DEPTH

If PASSWORD_HISTORY_DEPTH is not set to 5 or greater, this is a finding.

For SMSE:
Check the PASSWORD_HISTORY_DEPTH setting.
# grep PASSWORD_HISTORY_DEPTH /etc/default/security /var/adm/userdb/*

If PASSWORD_HISTORY_DEPTH is not set to 5 or greater, this is a finding.
Fix Text (F-31540r2_fix)
For Trusted Mode:
Use the SAM/SMH interface or edit the /etc/default/security file and update the PASSWORD_HISTORY_DEPTH attribute. See the below example:
PASSWORD_HISTORY_DEPTH=5

If manually editing the file, save any change(s) before exiting the editor.

For SMSE:
Note: There may be additional package/bundle updates that must be installed to support attributes in the /etc/default/security file.

Use the SAM/SMH interface (/etc/default/security file) and/or the userdbset command (/var/adm/userdb/* files) to update the PASSWORD_HISTORY_DEPTH attribute. See the below example:
PASSWORD_HISTORY_DEPTH=5

Note: Never use a text editor to modify any /var/adm/userdb database file. The database contains checksums and other binary data, and editors (vi included) do not follow the file locking conventions that are used to control access to the database.

If manually editing the /etc/default/security file, save any change(s) before exiting the editor.